import 'package:get/get.dart';

import 'package:pass_log/app/data/providers/app_version.dart';
import 'package:pass_log/app/data/providers/type_provider.dart';
import 'package:pass_log/app/data/providers/pass_provider.dart';

class ApplicationBindings extends Bindings {
  @override
  void dependencies() {
    // 为应用注入全局依赖（全局 Controller）
    Get.put<AppVersionProvider>(AppVersionProvider(), permanent: true);
    Get.put<TypeListProvider>(TypeListProvider(), permanent: true);
    Get.put<PassListProvider>(PassListProvider(), permanent: true);
  }
}
